#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
	char n;
	scanf("%c", &n);
	int i = 0;
	for (i = 0; i < 3; i++)
	{
		for (int j = 2 - i; j > 0; j--)
			printf(" ");
		for (int k = 1; k <(i + 1) * 2; k++)
			printf("*");
		printf("\n");
	}
	return 0;
}